<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<title>租房网</title>
<style type="text/css"> 
<!--
.STYLE5 {font-size: 13px}
-->
</style>
<!--mstheme--><link rel="stylesheet" type="text/css" href="_themes/zero/zero1011-106.css"><meta name="Microsoft Theme" content="zero 1011, default">
<meta name="Microsoft Border" content="tlb, default">


  </head>
  
  <body>
  <table>
  <!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>
 
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<td align="left" valign="top"><span style="letter-spacing: 1px">
		<font face="微软雅黑">
		<img src="_derived/index.htm_cmp_zero010_bnr.gif" width="580" height="60" border="0" alt="租房网"></font></span>
		</td>
		<td align="left" valign="top"><small>
		<nobr>主页</nobr>&nbsp;|&nbsp;
		<nobr><html:link target="" style="text-decoration: none;" action="/tocontactinformationpage">联系信息</html:link></nobr>&nbsp;|&nbsp;
		<nobr><html:link action="/tocomplaintpostpage" target="" style="text-decoration: none;">建议或投诉</html:link></nobr>&nbsp;|&nbsp;
		<nobr><html:link action="/logout">注销</html:link></nobr>&nbsp;|&nbsp;<nobr>
		
  </table>
  <table>
  <tr>
  <td><p>
<script language="JavaScript"><!--
MSFPhover = 
  (((navigator.appName == "Netscape") && 
  (parseInt(navigator.appVersion) >= 3 )) || 
  ((navigator.appName == "Microsoft Internet Explorer") && 
  (parseInt(navigator.appVersion) >= 4 ))); 
function MSFPpreload(img) 
{
  var a=new Image(); a.src=img; return a; 
}
// --></script>
<script language="JavaScript"><!--
if(MSFPhover) { MSFPnav1n=MSFPpreload("_derived/whatsnew.htm_cmp_zero010_vbtn.gif"); MSFPnav1h=MSFPpreload("_derived/whatsnew.htm_cmp_zero010_vbtn_a.gif"); }
// --></script><html:link action="/tohouseregisterpage" lang="JavaScript" onmouseover="if(MSFPhover) document['MSFPnav1'].src=MSFPnav1h.src" onmouseout="if(MSFPhover) document['MSFPnav1'].src=MSFPnav1n.src"><img src="_derived/whatsnew.htm_cmp_zero010_vbtn.gif" width="140" height="60" border="0" alt="发布房屋" name="MSFPnav1"></html:link>
<br><script language="JavaScript"><!--
if(MSFPhover) { MSFPnav2n=MSFPpreload("_derived/products.htm_cmp_zero010_vbtn.gif"); MSFPnav2h=MSFPpreload("_derived/products.htm_cmp_zero010_vbtn_a.gif"); }
// --></script><html:link action="/torentmessagepage" lang="JavaScript" onmouseover="if(MSFPhover) document['MSFPnav2'].src=MSFPnav2h.src" onmouseout="if(MSFPhover) document['MSFPnav2'].src=MSFPnav2n.src"><img src="_derived/products.htm_cmp_zero010_vbtn.gif" width="140" height="60" border="0" alt="请求租房" name="MSFPnav2"></html:link>
<br><script language="JavaScript"><!--
if(MSFPhover) { MSFPnav3n=MSFPpreload("_derived/faq.htm_cmp_zero010_vbtn.gif"); MSFPnav3h=MSFPpreload("_derived/faq.htm_cmp_zero010_vbtn_a.gif"); }
// --></script><html:link action="toviewallhousepage" lang="JavaScript" onmouseover="if(MSFPhover) document['MSFPnav3'].src=MSFPnav3h.src" onmouseout="if(MSFPhover) document['MSFPnav3'].src=MSFPnav3n.src"><img src="_derived/faq.htm_cmp_zero010_vbtn.gif" width="140" height="60" border="0" alt="房屋列表" name="MSFPnav3"></html:link>
<br><script language="JavaScript"><!--
if(MSFPhover) { MSFPnav4n=MSFPpreload("_derived/service.htm_cmp_zero010_vbtn.gif"); MSFPnav4h=MSFPpreload("_derived/service.htm_cmp_zero010_vbtn_a.gif"); }
// --></script><html:link action="/toviewrentmessagepage" lang="JavaScript" onmouseover="if(MSFPhover) document['MSFPnav4'].src=MSFPnav4h.src" onmouseout="if(MSFPhover) document['MSFPnav4'].src=MSFPnav4n.src"><img src="_derived/service.htm_cmp_zero010_vbtn.gif" width="140" height="60" border="0" alt="求租列表" name="MSFPnav4"></html:link>
<br><script language="JavaScript"><!--
if(MSFPhover) { MSFPnav5n=MSFPpreload("_derived/suggest.htm_cmp_zero010_vbtn.gif"); MSFPnav5h=MSFPpreload("_derived/suggest.htm_cmp_zero010_vbtn_a.gif"); }
// --></script><html:link action="/touserinformationpage" lang="JavaScript" onmouseover="if(MSFPhover) document['MSFPnav5'].src=MSFPnav5h.src" onmouseout="if(MSFPhover) document['MSFPnav5'].src=MSFPnav5n.src"><img src="_derived/suggest.htm_cmp_zero010_vbtn.gif" width="140" height="60" border="0" alt="个人资料" name="MSFPnav5"></html:link>
<br><script language="JavaScript"><!--
if(MSFPhover) { MSFPnav6n=MSFPpreload("_derived/catalog.htm_cmp_zero010_vbtn.gif"); MSFPnav6h=MSFPpreload("_derived/catalog.htm_cmp_zero010_vbtn_a.gif"); }
// --></script><a href="catalog.htm" lang="JavaScript" onMouseOver="if(MSFPhover) document['MSFPnav6'].src=MSFPnav6h.src" onMouseOut="if(MSFPhover) document['MSFPnav6'].src=MSFPnav6n.src"><img src="_derived/catalog.htm_cmp_zero010_vbtn.gif" width="140" height="60" border="0" alt="往期热点" name="MSFPnav6"></a>
</p>
  </td>
  <td>
  <h3>欢迎您，<% if(session.getAttribute("user_name") != null) { %><%=session.getAttribute("user_name")%>
    <% } else { %> ${userForm.user_name} <% } %>！</h3>
        <h3>你所发布的房屋：</h3>
        <display:table name="user_house_list" pagesize="5" export="false" id="user_house"
        			   requestURI="login.do">
        <display:setProperty name="export.excel.filename">
        <%=new String("用户房屋列表.xls".getBytes("GBK"),"ISO-8859-1") %>
        </display:setProperty>
        <display:column property="house_id" title="房屋id"/>
        <display:column property="house_title" title="房屋标题"/>
        <display:column property="mark" title="置顶情况"/>
        <display:column property="watch" title="验证情况"/>
        <display:column property="allow" title="信息发布许可"/>
        <display:column property="lease" title="租赁情况"/>
        <display:column title="操作">
     	<html:link action="/tomanagesinglehouseinformationpage"  paramName="user_house" paramId="house_id" paramProperty="house_id">
     	管理房屋信息
     	</html:link>
     	</display:column>
     	<display:column title="操作">
     	<html:link action="/deletehouse"  paramName="user_house" paramId="house_id" paramProperty="house_id">
     	删除房屋
     	</html:link>
     	</display:column>
        </display:table>
        <h3>未处理的看房请求：</h3>
        <display:table name="notice_list" pagesize="5" export="false" id="notice"
        			   requestURI="login.do">
        <display:column property="user_name" title="请求人用户名"/>
        <display:column property="phone_number" title="联系电话"/>
        <display:column property="house_title" title="房屋标题"/>
        <display:column title="操作">
     	<html:link action="/changenoticeasknown"  paramName="notice" paramId="notice_id" paramProperty="notice_id">
     	标记为已读
     	</html:link>
     	</display:column>
        </display:table>
  </td>
  <td>
  <h3>推荐房屋</h3>
  <display:table name="house_with_mark_list" pagesize="10" export="false" id="house_with_mark"
        			   requestURI="login.do">
        <display:setProperty name="export.excel.filename">
        <%=new String("用户房屋列表.xls".getBytes("GBK"),"ISO-8859-1") %>
        </display:setProperty>
        <display:column property="house_title" title="房屋标题"/>
        <display:column property="region" title="地区"/>
        <display:column property="mark" title="置顶情况"/>
        <display:column property="watch" title="验证情况"/>
        <display:column property="lease" title="租赁情况"/>
        <display:column title="操作">
     	<html:link action="/toviewsinglehousepage"  paramName="house_with_mark" paramId="house_id" paramProperty="house_id">
     	浏览详细
     	</html:link>
     	</display:column>
        </display:table>
  </td>
  </tr>
  </table>
        
  </body>
</html:html>
